package com.fxy.Entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
public class AnswerEntity implements Serializable{
    private int id;
    //用户id
    private int userId;
    //问题id
    private int questionId;
    //问题回答
    private String answerContent;
    //回答时间
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date answerTime;
}
